package com.pinusmusic.domain;

public class User {
    private Integer uid;//用户编号
    private String username;//用户名
    private String userpassword;//密码
    private String email;//邮件
    private String sex;//性别
    private String telephone;//电话
    private String vipstatus;//vip状态
    private String vipcode;//vip码
    private String commentstatus;
    private String code;//忘记密码验证码


    public User() {
    }

    public User(Integer uid, String username, String userpassword, String email, String sex, String telephone, String vipstatus, String vipcode, String commentstatus, String code) {
        this.uid = uid;
        this.username = username;
        this.userpassword = userpassword;
        this.email = email;
        this.sex = sex;
        this.telephone = telephone;
        this.vipstatus = vipstatus;
        this.vipcode = vipcode;
        this.commentstatus = commentstatus;
        this.code = code;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserpassword() {
        return userpassword;
    }

    public void setUserpassword(String userpassword) {
        this.userpassword = userpassword;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getVipstatus() {
        return vipstatus;
    }

    public void setVipstatus(String vipstatus) {
        this.vipstatus = vipstatus;
    }

    public String getVipcode() {
        return vipcode;
    }

    public void setVipcode(String vipcode) {
        this.vipcode = vipcode;
    }

    public String getCommentstatus() {
        return commentstatus;
    }

    public void setCommentstatus(String commentstatus) {
        this.commentstatus = commentstatus;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", username='" + username + '\'' +
                ", userpassword='" + userpassword + '\'' +
                ", email='" + email + '\'' +
                ", sex='" + sex + '\'' +
                ", telephone='" + telephone + '\'' +
                ", vipstatus='" + vipstatus + '\'' +
                ", vipcode='" + vipcode + '\'' +
                ", commentstatus='" + commentstatus + '\'' +
                ", code='" + code + '\'' +
                '}';
    }
}
